<div class="flash">
    {{#if success}}
        <div class="success">{{success}}</div>
    {{/if}}
    {{#if error}}
        <div class="error">{{error}}</div>
    {{/if}}
</div>